package com.atguigu.yygh.hosp.service;/*
 * @author: XueYouPeng
 * @time: 2023/6/9 15:16
 */

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void saveHospital(Map<String, Object> paramMap);

    Hospital show(Map<String, Object> paramMap);

    Page<Hospital> hospitalList(Integer pageNum, Integer pageSize, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> getHospById(String id);

    List<Hospital> findByName(String hosname);

    Hospital getHospByHoscode(String hoscode);
}
